package com.gxa.p2p.service;

import com.gxa.p2p.pojo.Redpac;
import com.gxa.p2p.pojo.Redpaclog;

import java.util.List;

/**
 * @author R
 * @data 2021-10-26 16:14
 */
public interface RedPacService {
    void addRedPac(Redpac redpac);
    List<Redpac> findRedPac(String name,String type,Integer page,Integer size);
    Integer findRedPacCount(String name,String type,Integer page,Integer size);
    List<Redpaclog> findRedPacLogByPage(String invPhone, String invName, String name, String userOrigin, String colType, String state, Integer page, Integer size);
    List<Redpaclog> findRedPacLogNoPage(String invPhone, String invName, String name, String userOrigin, String colType, String state, Integer page, Integer size);
    Integer findRedPacLogCount(String invPhone, String invName, String name, String userOrigin, String colType, String state, Integer page, Integer size);
}
